<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST"
      action="qzuser/qzuser/add">

    <div class="form-group">
        <label for="userid" class="control-label col-xs-12 col-sm-2">账号:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="userid" disabled="disabled" class="form-control"  name="userid" type="text" value="{$id}">
            <input id="appid" class="form-control" name="userid" data-rule="required" type="hidden" value="{$id}">
            <!--<button id="sc_id" class="btn btn-success" style="margin-top: -50px;margin-left: 350px;" title="生成ID"><i-->
                    <!--class="fa fa-pencil"></i>生成ID-->
            <!--</button>-->
        </div>
    </div>
    <div class="form-group">
        <label for="nickname" class="control-label col-xs-12 col-sm-2">昵称:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="nickname" data-rule="required" class="form-control" name="nickname" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="password" class="control-label col-xs-12 col-sm-2">密码</label>
        <div class="col-xs-12 col-sm-4">
            <input id="password" data-rule="password" class="form-control" name="password" type="text" value=""
                   placeholder="{:__('不填写默认为123456')}" autocomplete="new-password"/>
        </div>
    </div>
    <!--<div class="form-group">-->
    <!--<label for="c-email" class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>-->
    <!--<div class="col-xs-12 col-sm-4">-->
    <!--<input id="c-email" data-rule="" class="form-control" name="" type="text" value="">-->
    <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label for="phone" class="control-label col-xs-12 col-sm-2">手机号:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="phone" data-rule="mobile" class="form-control" name="phone" type="text" value="">
        </div>
    </div>


    <div class="form-group">
        <label for="birthday" class="control-label col-xs-12 col-sm-2">生日</label>
        <div class="col-xs-12 col-sm-4">
            <input id="birthday" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD"
                   data-use-current="true" name="birthday" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="creat_time" class="control-label col-xs-12 col-sm-2">注册日期</label>
        <div class="col-xs-12 col-sm-8">

            <input id="creat_time" data-rule="required" class="form-control datetimepicker"
                   data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="creat_time" type="text"
                   value="">
        </div>
    </div>
    <div class="form-group">
        <label for="prased" class="control-label col-xs-12 col-sm-2">获赞量</label>
        <div class="col-xs-12 col-sm-4">
            <input id="prased" data-rule="integer,range(0~)"  class="form-control" name="prased" type="number" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="card_num" class="control-label col-xs-12 col-sm-2">体验卡数量</label>
        <div class="col-xs-12 col-sm-4">
            <input id="card_num" data-rule="integer,range(0~)" class="form-control"  name="card_num" type="number"
                   value="">
        </div>
    </div>

    <div class="form-group">
        <label for="content" class="control-label col-xs-12 col-sm-2">身份类型</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" class="form-control" data-rule="required" name="use_type">
                <option value="">选择</option>
                <option value="1">普通用户</option>
                <option value="2">达人</option>
                <option value="3">商家</option>
            </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>

